Method, System, and Computer Program Product for Dynamically Scheduling Machine Learning Inference Jobs with Different Quality of Services on a Shared Infrastructure

ABSTRACT

A method, system, and computer program product for dynamically scheduling machine learning inference jobs receive or determine a plurality of performance profiles associated with a plurality of system resources, wherein each performance profile is associated with a machine learning model; receive a request for system resources for an inference job associated with the machine learning model; determine a system resource of the plurality of system resources for processing the inference job associated with the machine learning model based on the plurality of performance profiles and a quality of service requirement associated with the inference job; assign the system resource to the inference job for processing the inference job; receive result data associated with processing of the inference job with the system resource; and update based on the result data, a performance profile of the plurality of the performance profiles associated with the system resource and the machine learning model.

CROSS-REFERENCE TO RELATED APPLICATION

This application is a continuation of U.S. patent application Ser. No.16/745,932 filed, Jan. 17, 2020, the disclosure of which is herebyincorporated by reference in its entirety.

BACKGROUND 1. Field

This disclosure relates generally to systems, devices, products,apparatus, and methods for scheduling machine learning inference jobs,and in some embodiments or aspects, to a method, a system, and a productfor dynamically scheduling machine learning inference jobs withdifferent quality of services on a shared infrastructure.

2. Technical Considerations

Many companies are building shared common machine learning platforms.Common machine learning platforms are also available in the publiccloud, such as Amazon SageMaker, and/or the like. For example, AmazonSageMaker is a fully managed service that provides developers and datascientists with the ability to build, train, and deploy machine learning(ML) models.

Different machine learning models may have different quality of servicerequirements. For example, a fraud detection model for detectingfraudulent transactions may need to detect fraud within a fewmilliseconds, whereas web interactive applications may be able totolerate hundreds of milliseconds of latency.

Different system resources may have different processing capabilities.For example, a central processing unit (CPU) typically has a much higherclock frequency than a graphics processing unit (GPU) and, therefore, aCPU is typically much faster at processing individual inference jobs.Further, an amount of available RAM for a CPU is typically in a range ofhundreds of gigabytes to tens of terabytes, whereas an amount ofavailable RAM for a GPU is typically in a range of tens of gigabytes.However, a GPU typically has a much larger number of cores (e.g.,thousands of cores, etc.) than a CPU (e.g., tens of cores, etc.), whichmay make a GPU more suited for other processing tasks, such asprocessing batch requests, and/or the like. For example, a GPU mayoperate as a blocking device, which means that an executing task cannotbe interrupted and, therefore, to fully leverage GPU resources, multiplerequests may be batched. Similarly, different systems in a sharedinfrastructure, such as a first system including a first CPU and a firstGPU and a second system including a second CPU and a second GPU, mayhave different processing capabilities, which may cause the first systemto be better suited for certain processing tasks, such as those withhigher quality of service requirements, and/or the like, than the secondsystem.

A common machine learning platform may not manage task or job assignmentto satisfy quality of service requirements and efficient resourceutilization due to the different quality of service requirements ofdifferent machine learning models and applications, as well asheterogenous system resources, such as hardware accelerators, and/or thelike. Accordingly, there is a need in the art for improving schedulingof machine learning inference jobs on shared platforms orinfrastructures.

SUMMARY

Accordingly, provided are improved systems, devices, products,apparatus, and/or methods for scheduling machine learning inferencejobs.

According to some non-limiting embodiments or aspects, provided is acomputer-implemented method including: receiving or determining, with atleast one processor, a plurality of performance profiles associated witha plurality of system resources, each performance profile beingassociated with a machine learning model; receiving, with at least oneprocessor, a request for system resources for an inference jobassociated with the machine learning model; determining, with at leastone processor, a system resource of the plurality of system resourcesfor processing the inference job associated with the machine learningmodel based on the plurality of performance profiles and a quality ofservice requirement associated with the inference job; assigning, withat least one processor, the system resource to the inference job forprocessing the inference job; receiving, with at least one processor,result data associated with processing of the inference job with thesystem resource; and updating, with at least one processor, based on theresult data, a performance profile of the plurality of the performanceprofiles associated with the system resource and the machine learningmodel.

In some non-limiting embodiments or aspects, each performance profilefor each system resource includes a latency associated with the machinelearning model for that system resource, a throughput associated withthe machine learning model for that system resource, and an availabilityof that system resource for processing the inference job associated withthe machine learning model.

In some non-limiting embodiments or aspects, the plurality of systemresources include at least one central processing unit (CPU) and atleast one graphics processing unit (GPU).

In some non-limiting embodiments or aspects, the quality of servicerequirement includes at least one of a latency requirement for theinference job associated with the machine learning model and athroughput requirement for the inference job associated with the machinelearning model.

In some non-limiting embodiments or aspects, determining the systemresource of the plurality of system resources for processing theinference job associated with the machine learning model includesassigning the inference job to one of a plurality of job queues based onthe quality of service requirement associated with the inference job,wherein the plurality of job queues are associated with a plurality ofdifferent priorities, and wherein determining the system resource of theplurality of system resources for processing the inference jobassociated with the machine learning model is further based on apriority of a job queue to which the inference job is assigned.

In some non-limiting embodiments or aspects, the method furtherincludes: receiving or determining, with at least one processor, aplurality of further performance profiles associated with the pluralityof system resources, each further performance profile being associatedwith a further machine learning model different than the machinelearning model; receiving, with at least one processor, a furtherrequest for system resources for a further inference job associated withthe further machine learning model; determining, with at least oneprocessor, a further system resource of the plurality of systemresources for processing the further inference job associated with thefurther machine learning model based on the plurality of furtherperformance profiles and a further quality of service requirementassociated with the further inference job; assigning, with at least oneprocessor, the further system resource to the inference job forprocessing the inference job; receiving, with at least one processor,further result data associated with processing of the further inferencejob with the further system resource; and updating, with at least oneprocessor, based on the further result data, a further performanceprofile of the plurality of the performance profiles associated with thesystem resource and the further machine learning model.

In some non-limiting embodiments or aspects, the first system resourceand the further system resource include a same system resource.

According to some non-limiting embodiments or aspects, provided is acomputing system including: one or more processors programmed and/orconfigured to: receive or determine a plurality of performance profilesassociated with a plurality of system resources, each performanceprofile being associated with a machine learning model; receive arequest for system resources for an inference job associated with themachine learning model; determine a system resource of the plurality ofsystem resources for processing the inference job associated with themachine learning model based on the plurality of performance profilesand a quality of service requirement associated with the inference job;assign the system resource to the inference job for processing theinference job; receive result data associated with processing of theinference job with the system resource; and update, based on the resultdata, a performance profile of the plurality of the performance profilesassociated with the system resource and the machine learning model.

In some non-limiting embodiments or aspects, each performance profilefor each system resource includes a latency associated with the machinelearning model for that system resource, a throughput associated withthe machine learning model for that system resource, and an availabilityof that system resource for processing the inference job associated withthe machine learning model.

In some non-limiting embodiments or aspects, the plurality of systemresources include at least one central processing unit (CPU) and atleast one graphics processing unit (GPU).

In some non-limiting embodiments or aspects, the quality of servicerequirement includes at least one of a latency requirement for theinference job associated with the machine learning model and athroughput requirement for the inference job associated with the machinelearning model.

In some non-limiting embodiments or aspects, determining the systemresource of the plurality of system resources for processing theinference job associated with the machine learning model includesassigning the inference job to one of a plurality of job queues based onthe quality of service requirement associated with the inference job,wherein the plurality of job queues are associated with a plurality ofdifferent priorities, and wherein determining the system resource of theplurality of system resources for processing the inference jobassociated with the machine learning model is further based on apriority of a job queue to which the inference job is assigned.

In some non-limiting embodiments or aspects, the one or more processorsare further programmed and/or configured to: receive or determine aplurality of further performance profiles associated with the pluralityof system resources, each further performance profile being associatedwith a further machine learning model different than the machinelearning model; receive a further request for system resources for afurther inference job associated with the further machine learningmodel; determine a further system resource of the plurality of systemresources for processing the further inference job associated with thefurther machine learning model based on the plurality of furtherperformance profiles and a further quality of service requirementassociated with the further inference job; assign the further systemresource to the inference job for processing the inference job; receivefurther result data associated with processing of the further inferencejob with the further system resource; and update based on the furtherresult data, a further performance profile of the plurality of theperformance profiles associated with the system resource and the furthermachine learning model.

In some non-limiting embodiments or aspects, the first system resourceand the further system resource include a same system resource.

According to some non-limiting embodiments or aspects, provided is acomputer program product including at least one non-transitorycomputer-readable medium including program instructions that, whenexecuted by at least one processor, cause the at least one processor to:receive or determine a plurality of performance profiles associated witha plurality of system resources, each performance profile beingassociated with a machine learning model; receive a request for systemresources for an inference job associated with the machine learningmodel; determine a system resource of the plurality of system resourcesfor processing the inference job associated with the machine learningmodel based on the plurality of performance profiles and a quality ofservice requirement associated with the inference job; assign the systemresource to the inference job for processing the inference job; receiveresult data associated with processing of the inference job with thesystem resource; and update, based on the result data, a performanceprofile of the plurality of the performance profiles associated with thesystem resource and the machine learning model.

In some non-limiting embodiments or aspects, each performance profilefor each system resource includes a latency associated with the machinelearning model for that system resource, a throughput associated withthe machine learning model for that system resource, and an availabilityof that system resource for processing the inference job associated withthe machine learning model.

In some non-limiting embodiments or aspects, the plurality of systemresources include at least one central processing unit (CPU) and atleast one graphics processing unit (GPU).

In some non-limiting embodiments or aspects, the quality of servicerequirement includes at least one of a latency requirement for theinference job associated with the machine learning model and athroughput requirement for the inference job associated with the machinelearning model.

In some non-limiting embodiments or aspects, determining the systemresource of the plurality of system resources for processing theinference job associated with the machine learning model includesassigning the inference job to one of a plurality of job queues based onthe quality of service requirement associated with the inference job,wherein the plurality of job queues are associated with a plurality ofdifferent priorities, and wherein determining the system resource of theplurality of system resources for processing the inference jobassociated with the machine learning model is further based on apriority of a job queue to which the inference job is assigned.

In some non-limiting embodiments or aspects, the one or more processorsare further programmed and/or configured to: receive or determine aplurality of further performance profiles associated with the pluralityof system resources, each further performance profile being associatedwith a further machine learning model different than the machinelearning model; receive a further request for system resources for afurther inference job associated with the further machine learningmodel; determine a further system resource of the plurality of systemresources for processing the further inference job associated with thefurther machine learning model based on the plurality of furtherperformance profiles and a further quality of service requirementassociated with the further inference job; assign the further systemresource to the inference job for processing the inference job; receivefurther result data associated with processing of the further inferencejob with the further system resource; and update based on the furtherresult data, a further performance profile of the plurality of theperformance profiles associated with the system resource and the furthermachine learning model.

Further embodiments or aspects are set forth in the following numberedclauses:

Clause 1. A computer-implemented method comprising: receiving ordetermining, with at least one processor, a plurality of performanceprofiles associated with a plurality of system resources, wherein eachperformance profile is associated with a machine learning model;receiving, with at least one processor, a request for system resourcesfor an inference job associated with the machine learning model;determining, with at least one processor, a system resource of theplurality of system resources for processing the inference jobassociated with the machine learning model based on the plurality ofperformance profiles and a quality of service requirement associatedwith the inference job; assigning, with at least one processor, thesystem resource to the inference job for processing the inference job;receiving, with at least one processor, result data associated withprocessing of the inference job with the system resource; and updating,with at least one processor, based on the result data, a performanceprofile of the plurality of the performance profiles associated with thesystem resource and the machine learning model.

Clause 2. The computer-implemented method of clause 1, wherein eachperformance profile for each system resource includes a latencyassociated with the machine learning model for that system resource, athroughput associated with the machine learning model for that systemresource, and an availability of that system resource for processing theinference job associated with the machine learning model.

Clause 3. The computer-implemented method of clauses 1 or 2, wherein theplurality of system resources include at least one central processingunit (CPU) and at least one graphics processing unit (GPU).

Clause 4. The computer-implemented method of any of clauses 1-3, whereinthe quality of service requirement includes at least one of a latencyrequirement for the inference job associated with the machine learningmodel and a throughput requirement for the inference job associated withthe machine learning model.

Clause 5. The computer-implemented method of any of clauses 1-4, whereindetermining the system resource of the plurality of system resources forprocessing the inference job associated with the machine learning modelincludes assigning the inference job to one of a plurality of job queuesbased on the quality of service requirement associated with theinference job, wherein the plurality of job queues are associated with aplurality of different priorities, and wherein determining the systemresource of the plurality of system resources for processing theinference job associated with the machine learning model is furtherbased on a priority of a job queue to which the inference job isassigned.

Clause 6. The computer-implemented method of any of clauses 1-5, furthercomprising: receiving or determining, with at least one processor, aplurality of further performance profiles associated with the pluralityof system resources, wherein each further performance profile isassociated with a further machine learning model different than themachine learning model; receiving, with at least one processor, afurther request for system resources for a further inference jobassociated with the further machine learning model; determining, with atleast one processor, a further system resource of the plurality ofsystem resources for processing the further inference job associatedwith the further machine learning model based on the plurality offurther performance profiles and a further quality of servicerequirement associated with the further inference job; assigning, withat least one processor, the further system resource to the inference jobfor processing the inference job; receiving, with at least oneprocessor, further result data associated with processing of the furtherinference job with the further system resource; and updating, with atleast one processor, based on the further result data, a furtherperformance profile of the plurality of the performance profilesassociated with the system resource and the further machine learningmodel.

Clause 7. The computer-implemented method of any of clauses 1-6, whereinthe first system resource and the further system resource include a samesystem resource.

Clause 8. A computing system comprising: one or more processorsprogrammed and/or configured to: receive or determine a plurality ofperformance profiles associated with a plurality of system resources,wherein each performance profile is associated with a machine learningmodel; receive a request for system resources for an inference jobassociated with the machine learning model; determine a system resourceof the plurality of system resources for processing the inference jobassociated with the machine learning model based on the plurality ofperformance profiles and a quality of service requirement associatedwith the inference job; assign the system resource to the inference jobfor processing the inference job; receive result data associated withprocessing of the inference job with the system resource; and update,based on the result data, a performance profile of the plurality of theperformance profiles associated with the system resource and the machinelearning model.

Clause 9. The computing system of clause 8, wherein each performanceprofile for each system resource includes a latency associated with themachine learning model for that system resource, a throughput associatedwith the machine learning model for that system resource, and anavailability of that system resource for processing the inference jobassociated with the machine learning model.

Clause 10. The computing system of clauses 8 or 9, wherein the pluralityof system resources include at least one central processing unit (CPU)and at least one graphics processing unit (GPU).

Clause 11. The computing system of any of clauses 8-10, wherein thequality of service requirement includes at least one of a latencyrequirement for the inference job associated with the machine learningmodel and a throughput requirement for the inference job associated withthe machine learning model.

Clause 12. The computing system of any of clauses 8-11, whereindetermining the system resource of the plurality of system resources forprocessing the inference job associated with the machine learning modelincludes assigning the inference job to one of a plurality of job queuesbased on the quality of service requirement associated with theinference job, wherein the plurality of job queues are associated with aplurality of different priorities, and wherein determining the systemresource of the plurality of system resources for processing theinference job associated with the machine learning model is furtherbased on a priority of a job queue to which the inference job isassigned.

Clause 13. The computing system of any of clauses 8-12, wherein the oneor more processors are further programmed and/or configured to: receiveor determine a plurality of further performance profiles associated withthe plurality of system resources, wherein each further performanceprofile is associated with a further machine learning model differentthan the machine learning model; receive a further request for systemresources for a further inference job associated with the furthermachine learning model; determine a further system resource of theplurality of system resources for processing the further inference jobassociated with the further machine learning model based on theplurality of further performance profiles and a further quality ofservice requirement associated with the further inference job; assignthe further system resource to the inference job for processing theinference job; receive further result data associated with processing ofthe further inference job with the further system resource; and updatebased on the further result data, a further performance profile of theplurality of the performance profiles associated with the systemresource and the further machine learning model.

Clause 14. The computing system method of any of clauses 8-13, whereinthe first system resource and the further system resource include a samesystem resource.

Clause 15. A computer program product comprising at least onenon-transitory computer-readable medium including program instructionsthat, when executed by at least one processor, cause the at least oneprocessor to: receive or determine a plurality of performance profilesassociated with a plurality of system resources, wherein eachperformance profile is associated with a machine learning model; receivea request for system resources for an inference job associated with themachine learning model; determine a system resource of the plurality ofsystem resources for processing the inference job associated with themachine learning model based on the plurality of performance profilesand a quality of service requirement associated with the inference job;assign the system resource to the inference job for processing theinference job; receive result data associated with processing of theinference job with the system resource; and update, based on the resultdata, a performance profile of the plurality of the performance profilesassociated with the system resource and the machine learning model.

Clause 16. The computer program product of clause 15, wherein eachperformance profile for each system resource includes a latencyassociated with the machine learning model for that system resource, athroughput associated with the machine learning model for that systemresource, and an availability of that system resource for processing theinference job associated with the machine learning model.

Clause 17. The computer program product of clauses 15 or 16, wherein theplurality of system resources include at least one central processingunit (CPU) and at least one graphics processing unit (GPU).

Clause 18. The computer program product of any of clauses 15-17, whereinthe quality of service requirement includes at least one of a latencyrequirement for the inference job associated with the machine learningmodel and a throughput requirement for the inference job associated withthe machine learning model.

Clause 19. The computer program product of any of clauses 15-18, whereindetermining the system resource of the plurality of system resources forprocessing the inference job associated with the machine learning modelincludes assigning the inference job to one of a plurality of job queuesbased on the quality of service requirement associated with theinference job, wherein the plurality of job queues are associated with aplurality of different priorities, and wherein determining the systemresource of the plurality of system resources for processing theinference job associated with the machine learning model is furtherbased on a priority of a job queue to which the inference job isassigned.

Clause 20. The computer program product of any of clauses 15-19, whereinthe one or more processors are further programmed and/or configured to:receive or determine a plurality of further performance profilesassociated with the plurality of system resources, wherein each furtherperformance profile is associated with a further machine learning modeldifferent than the machine learning model; receive a further request forsystem resources for a further inference job associated with the furthermachine learning model; determine a further system resource of theplurality of system resources for processing the further inference jobassociated with the further machine learning model based on theplurality of further performance profiles and a further quality ofservice requirement associated with the further inference job; assignthe further system resource to the inference job for processing theinference job; receive further result data associated with processing ofthe further inference job with the further system resource; and updatebased on the further result data, a further performance profile of theplurality of the performance profiles associated with the systemresource and the further machine learning model.

These and other features and characteristics of the present disclosure,as well as the methods of operation and functions of the relatedelements of structures and the combination of parts and economies ofmanufacture, will become more apparent upon consideration of thefollowing description and the appended claims with reference to theaccompanying drawings, all of which form a part of this specification,wherein like reference numerals designate corresponding parts in thevarious figures. It is to be expressly understood, however, that thedrawings are for the purpose of illustration and description only andare not intended as a definition of limits. As used in the specificationand the claims, the singular form of “a,” “an,” and “the” include pluralreferents unless the context clearly dictates otherwise.

BRIEF DESCRIPTION OF THE DRAWINGS

Additional advantages and details are explained in greater detail belowwith reference to the exemplary embodiments or aspects that areillustrated in the accompanying schematic figures, in which:

FIG. 1A is a diagram of non-limiting embodiments or aspects of anenvironment in which systems, devices, products, apparatus, and/ormethods, described herein, may be implemented;

FIG. 1B is a diagram of non-limiting embodiments or aspects of a systemfor scheduling machine learning inference jobs;

FIG. 2 is a diagram of non-limiting embodiments or aspects of componentsof one or more devices and/or one or more systems of FIGS. 1A and 1B;

FIG. 3 is a flowchart of non-limiting embodiments or aspects of aprocess for scheduling machine learning inference jobs; and

FIG. 4 is a flowchart of non-limiting embodiments or aspects of aprocess for scheduling machine learning inference jobs.

DESCRIPTION

It is to be understood that the present disclosure may assume variousalternative variations and step sequences, except where expresslyspecified to the contrary. It is also to be understood that the specificdevices and processes illustrated in the attached drawings, anddescribed in the following specification, are simply exemplary andnon-limiting embodiments or aspects. Hence, specific dimensions andother physical characteristics related to the embodiments or aspectsdisclosed herein are not to be considered as limiting.

No aspect, component, element, structure, act, step, function,instruction, and/or the like used herein should be construed as criticalor essential unless explicitly described as such. Also, as used herein,the articles “a” and “an” are intended to include one or more items, andmay be used interchangeably with “one or more” and “at least one.”Furthermore, as used herein, the term “set” is intended to include oneor more items (e.g., related items, unrelated items, a combination ofrelated and unrelated items, etc.) and may be used interchangeably with“one or more” or “at least one.” Where only one item is intended, theterm “one” or similar language is used. Also, as used herein, the terms“has,” “have,” “having,” or the like are intended to be open-endedterms. Further, the phrase “based on” is intended to mean “based atleast partially on” unless explicitly stated otherwise.

As used herein, the terms “communication” and “communicate” refer to thereceipt or transfer of one or more signals, messages, commands, or othertype of data. For one unit (e.g., any device, system, or componentthereof) to be in communication with another unit means that the oneunit is able to directly or indirectly receive data from and/or transmitdata to the other unit. This may refer to a direct or indirectconnection that is wired and/or wireless in nature. Additionally, twounits may be in communication with each other even though the datatransmitted may be modified, processed, relayed, and/or routed betweenthe first and second unit. For example, a first unit may be incommunication with a second unit even though the first unit passivelyreceives data and does not actively transmit data to the second unit. Asanother example, a first unit may be in communication with a second unitif an intermediary unit processes data from one unit and transmitsprocessed data to the second unit. It will be appreciated that numerousother arrangements are possible.

It will be apparent that systems and/or methods, described herein, canbe implemented in different forms of hardware, software, or acombination of hardware and software. The actual specialized controlhardware or software code used to implement these systems and/or methodsis not limiting of the implementations. Thus, the operation and behaviorof the systems and/or methods are described herein without reference tospecific software code, it being understood that software and hardwarecan be designed to implement the systems and/or methods based on thedescription herein.

Some non-limiting embodiments or aspects are described herein inconnection with thresholds. As used herein, satisfying a threshold mayrefer to a value being greater than the threshold, more than thethreshold, higher than the threshold, greater than or equal to thethreshold, less than the threshold, fewer than the threshold, lower thanthe threshold, less than or equal to the threshold, equal to thethreshold, etc.

As used herein, the term “transaction service provider” may refer to anentity that receives transaction authorization requests from merchantsor other entities and provides guarantees of payment, in some casesthrough an agreement between the transaction service provider and anissuer institution. The terms “transaction service provider” and“transaction service provider system” may also refer to one or morecomputer systems operated by or on behalf of a transaction serviceprovider, such as a transaction processing system executing one or moresoftware applications. A transaction processing system may include oneor more server computers with one or more processors and, in somenon-limiting embodiments or aspects, may be operated by or on behalf ofa transaction service provider.

As used herein, the term “account identifier” may include one or morePrimary Account Numbers (PAN), tokens, or other identifiers (e.g., aglobally unique identifier (GUID), a universally unique identifier(UUID), etc.) associated with a customer account of a user (e.g., acustomer, a consumer, and/or the like). The term “token” may refer to anidentifier that is used as a substitute or replacement identifier for anoriginal account identifier, such as a PAN. Account identifiers may bealphanumeric or any combination of characters and/or symbols. Tokens maybe associated with a PAN or other original account identifier in one ormore databases such that they can be used to conduct a transactionwithout directly using the original account identifier. In someexamples, an original account identifier, such as a PAN, may beassociated with a plurality of tokens for different individuals orpurposes.

As used herein, the terms “issuer institution,” “portable financialdevice issuer,” “issuer,” or “issuer bank” may refer to one or moreentities that provide one or more accounts to a user (e.g., a customer,a consumer, an entity, an organization, and/or the like) for conductingtransactions (e.g., payment transactions), such as initiating creditcard payment transactions and/or debit card payment transactions. Forexample, an issuer institution may provide an account identifier, suchas a personal account number (PAN), to a user that uniquely identifiesone or more accounts associated with that user. The account identifiermay be embodied on a portable financial device, such as a physicalfinancial instrument (e.g., a payment card), and/or may be electronicand used for electronic payments. In some non-limiting embodiments oraspects, an issuer institution may be associated with a bankidentification number (BIN) that uniquely identifies the issuerinstitution. As used herein “issuer institution system” may refer to oneor more computer systems operated by or on behalf of an issuerinstitution, such as a server computer executing one or more softwareapplications. For example, an issuer institution system may include oneor more authorization servers for authorizing a payment transaction.

As used herein, the term “merchant” may refer to an individual or entitythat provides products and/or services, or access to products and/orservices, to customers based on a transaction, such as a paymenttransaction. The term “merchant” or “merchant system” may also refer toone or more computer systems operated by or on behalf of a merchant,such as a server computer executing one or more software applications. A“point-of-sale (POS) system,” as used herein, may refer to one or morecomputers and/or peripheral devices used by a merchant to engage inpayment transactions with customers, including one or more card readers,near-field communication (NFC) receivers, radio frequency identification(RFID) receivers, and/or other contactless transceivers or receivers,contact-based receivers, payment terminals, computers, servers, inputdevices, and/or other like devices that can be used to initiate apayment transaction.

As used herein, the term “mobile device” may refer to one or moreportable electronic devices configured to communicate with one or morenetworks. As an example, a mobile device may include a cellular phone(e.g., a smartphone or standard cellular phone), a portable computer(e.g., a tablet computer, a laptop computer, etc.), a wearable device(e.g., a watch, pair of glasses, lens, clothing, and/or the like), apersonal digital assistant (PDA), and/or other like devices. The terms“client device” and “user device,” as used herein, refer to anyelectronic device that is configured to communicate with one or moreservers or remote devices and/or systems. A client device or user devicemay include a mobile device, a network-enabled appliance (e.g., anetwork-enabled television, refrigerator, thermostat, and/or the like),a computer, a POS system, and/or any other device or system capable ofcommunicating with a network.

As used herein, the term “computing device” or “computer device” mayrefer to one or more electronic devices that are configured to directlyor indirectly communicate with or over one or more networks. Thecomputing device may be a mobile device, a desktop computer, or thelike. Furthermore, the term “computer” may refer to any computing devicethat includes the necessary components to receive, process, and outputdata, and normally includes a display, a processor, a memory, an inputdevice, and a network interface. An “application” or “applicationprogram interface” (API) refers to computer code or other data sorted ona computer-readable medium that may be executed by a processor tofacilitate the interaction between software components, such as aclient-side front-end and/or server-side back-end for receiving datafrom the client. An “interface” refers to a generated display, such asone or more graphical user interfaces (GUIs) with which a user mayinteract, either directly or indirectly (e.g., through a keyboard,mouse, touchscreen, etc.).

As used herein, the terms “electronic wallet” and “electronic walletapplication” refer to one or more electronic devices and/or softwareapplications configured to initiate and/or conduct payment transactions.For example, an electronic wallet may include a mobile device executingan electronic wallet application, and may further include server-sidesoftware and/or databases for maintaining and providing transaction datato the mobile device. An “electronic wallet provider” may include anentity that provides and/or maintains an electronic wallet for acustomer, such as Google Wallet™, Android Pay®, Apple Pay®, SamsungPay®, and/or other like electronic payment systems. In some non-limitingexamples, an issuer bank may be an electronic wallet provider.

As used herein, the term “portable financial device” or “payment device”may refer to a payment card (e.g., a credit or debit card), a gift card,a smartcard, smart media, a payroll card, a healthcare card, a wristband, a machine-readable medium containing account information, akeychain device or fob, an RFID transponder, a retailer discount orloyalty card, a mobile device executing an electronic walletapplication, a personal digital assistant (PDA), a security card, anaccess card, a wireless terminal, and/or a transponder, as examples. Theportable financial device may include a volatile or a non-volatilememory to store information, such as an account identifier and/or a nameof the account holder.

As used herein, the term “server” may refer to or include one or moreprocessors or computers, storage devices, or similar computerarrangements that are operated by or facilitate communication andprocessing for multiple parties in a network environment, such as theInternet, although it will be appreciated that communication may befacilitated over one or more public or private network environments andthat various other arrangements are possible. Further, multiplecomputers, e.g., servers, or other computerized devices, such as POSdevices, directly or indirectly communicating in the network environmentmay constitute a “system,” such as a merchant's POS system. As usedherein, the term “data center” may include one or more servers, or othercomputing devices, and/or databases.

As used herein, the term “acquirer” may refer to an entity licensed bythe transaction service provider and/or approved by the transactionservice provider to originate transactions using a portable financialdevice of the transaction service provider. Acquirer may also refer toone or more computer systems operated by or on behalf of an acquirer,such as a server computer executing one or more software applications(e.g., “acquirer server”). An “acquirer” may be a merchant bank, or insome cases, the merchant system may be the acquirer. The transactionsmay include original credit transactions (OCTs) and account fundingtransactions (AFTs). The acquirer may be authorized by the transactionservice provider to sign merchants of service providers to originatetransactions using a portable financial device of the transactionservice provider. The acquirer may contract with payment facilitators toenable the facilitators to sponsor merchants. The acquirer may monitorcompliance of the payment facilitators in accordance with regulations ofthe transaction service provider. The acquirer may conduct due diligenceof payment facilitators and ensure that proper due diligence occursbefore signing a sponsored merchant. Acquirers may be liable for alltransaction service provider programs that they operate or sponsor.Acquirers may be responsible for the acts of its payment facilitatorsand the merchants it or its payment facilitators sponsor.

As used herein, the term “payment gateway” may refer to an entity and/ora payment processing system operated by or on behalf of such an entity(e.g., a merchant service provider, a payment service provider, apayment facilitator, a payment facilitator that contracts with anacquirer, a payment aggregator, and/or the like), which provides paymentservices (e.g., transaction service provider payment services, paymentprocessing services, and/or the like) to one or more merchants. Thepayment services may be associated with the use of portable financialdevices managed by a transaction service provider. As used herein, theterm “payment gateway system” may refer to one or more computer systems,computer devices, servers, groups of servers, and/or the like, operatedby or on behalf of a payment gateway.

Provided are improved systems, devices, products, apparatus, and/ormethods for scheduling machine learning inference jobs.

Non-limiting embodiments or aspects of the present disclosure aredirected to systems, methods, and computer program products for managingmodel updates that receive or determine a plurality of performanceprofiles associated with a plurality of system resources, wherein eachperformance profile is associated with a machine learning model; receivea request for system resources for an inference job associated with themachine learning model; determine a system resource of the plurality ofsystem resources for processing the inference job associated with themachine learning model based on the plurality of performance profilesand a quality of service requirement associated with the inference job;assign the system resource to the inference job for processing theinference job; receive result data associated with processing of theinference job with the system resource; and update based on the resultdata, a performance profile of the plurality of the performance profilesassociated with the system resource and the machine learning model. Inthis way, non-limiting embodiments or aspects of the present disclosuremay determine performance profiles of system resources with respect toindividual machine learning models or processes and update theperformance profiles after inference jobs are executed so that theperformance profiles are always current with respect to the individualmachine learning models or processes, which may enable quality ofservice requirements for different machine learning models andapplications to be satisfied and more efficient system resourceutilization in a common machine learning platform or sharedinfrastructure.

Referring now to FIG. 1A, FIG. 1A is a diagram of an example environment100 in which devices, systems, methods, and/or products describedherein, may be implemented. As shown in FIG. 1A, environment 100includes transaction processing network 101, which may include merchantsystem 102, payment gateway system 104, acquirer system 106, transactionservice provider system 108, and/or issuer system 110, user device 112,and/or communication network 114. Transaction processing network 101,merchant system 102, payment gateway system 104, acquirer system 106,transaction service provider system 108, issuer system 110, and/or userdevice 112 may interconnect (e.g., establish a connection tocommunicate, etc.) via wired connections, wireless connections, or acombination of wired and wireless connections.

Merchant system 102 may include one or more devices capable of receivinginformation and/or data from payment gateway system 104, acquirer system106, transaction service provider system 108, issuer system 110, and/oruser device 112 (e.g., via communication network 114, etc.) and/orcommunicating information and/or data to payment gateway system 104,acquirer system 106, transaction service provider system 108, issuersystem 110, and/or user device 112 (e.g., via communication network 114,etc.). Merchant system 102 may include a device capable of receivinginformation and/or data from user device 112 via a communicationconnection (e.g., an NFC communication connection, an RFID communicationconnection, a Bluetooth® communication connection, etc.) with userdevice 112, and/or communicating information and/or data to user device112 via the communication connection. For example, merchant system 102may include a computing device, such as a server, a group of servers, aclient device, a group of client devices, and/or other like devices. Insome non-limiting embodiments or aspects, merchant system 102 may beassociated with a merchant as described herein. In some non-limitingembodiments or aspects, merchant system 102 may include one or moredevices, such as computers, computer systems, and/or peripheral devicescapable of being used by a merchant to conduct a payment transactionwith a user. For example, merchant system 102 may include a POS deviceand/or a POS system.

Payment gateway system 104 may include one or more devices capable ofreceiving information and/or data from merchant system 102, acquirersystem 106, transaction service provider system 108, issuer system 110,and/or user device 112 (e.g., via communication network 114, etc.)and/or communicating information and/or data to merchant system 102,acquirer system 106, transaction service provider system 108, issuersystem 110, and/or user device 112 (e.g., via communication network 114,etc.). For example, payment gateway system 104 may include a computingdevice, such as a server, a group of servers, and/or other like devices.In some non-limiting embodiments or aspects, payment gateway system 104is associated with a payment gateway as described herein.

Acquirer system 106 may include one or more devices capable of receivinginformation and/or data from merchant system 102, payment gateway system104, transaction service provider system 108, issuer system 110, and/oruser device 112 (e.g., via communication network 114, etc.) and/orcommunicating information and/or data to merchant system 102, paymentgateway system 104, transaction service provider system 108, issuersystem 110, and/or user device 112 (e.g., via communication network 114,etc.). For example, acquirer system 106 may include a computing device,such as a server, a group of servers, and/or other like devices. In somenon-limiting embodiments or aspects, acquirer system 106 may beassociated with an acquirer as described herein.

Transaction service provider system 108 may include one or more devicescapable of receiving information and/or data from merchant system 102,payment gateway system 104, acquirer system 106, issuer system 110,and/or user device 112 (e.g., via communication network 114, etc.)and/or communicating information and/or data to merchant system 102,payment gateway system 104, acquirer system 106, issuer system 110,and/or user device 112 (e.g., via communication network 114, etc.). Forexample, transaction service provider system 108 may include a computingdevice, such as a server (e.g., a transaction processing server, etc.),a group of servers, and/or other like devices. In some non-limitingembodiments or aspects, transaction service provider system 108 may beassociated with a transaction service provider as described herein. Insome non-limiting embodiments or aspects, transaction service provider108 may include and/or access one or more one or more internal and/orexternal databases including account data, transaction data, input data,quality of service requirements, performance profiles, result data,feature profiles, model states, model policies, sequence numbers, and/orthe like.

Issuer system 110 may include one or more devices capable of receivinginformation and/or data from merchant system 102, payment gateway system104, acquirer system 106, transaction service provider system 108,and/or user device 112 (e.g., via communication network 114, etc.)and/or communicating information and/or data to merchant system 102,payment gateway system 104, acquirer system 106, transaction serviceprovider system 108, and/or user device 112 (e.g., via communicationnetwork 114, etc.). For example, issuer system 110 may include acomputing device, such as a server, a group of servers, and/or otherlike devices. In some non-limiting embodiments or aspects, issuer system110 may be associated with an issuer institution as described herein.For example, issuer system 110 may be associated with an issuerinstitution that issued a payment account or instrument (e.g., a creditaccount, a debit account, a credit card, a debit card, etc.) to a user(e.g., a user associated with user device 112, etc.).

In some non-limiting embodiments or aspects, transaction processingnetwork 101 includes a plurality of systems in a communication path forprocessing a transaction. For example, transaction processing network101 may include merchant system 102, payment gateway system 104,acquirer system 106, transaction service provider system 108, and/orissuer system 110 in a communication path (e.g., a communication path, acommunication channel, a communication network, etc.) for processing anelectronic payment transaction. As an example, transaction processingnetwork 101 may process (e.g., receive, initiate, conduct, authorize,etc.) an electronic payment transaction via the communication pathbetween merchant system 102, payment gateway system 104, acquirer system106, transaction service provider system 108, and/or issuer system 110.

User device 112 may include one or more devices capable of receivinginformation and/or data from merchant system 102, payment gateway system104, acquirer system 106, transaction service provider system 108,and/or issuer system 110 (e.g., via communication network 114, etc.)and/or communicating information and/or data to merchant system 102,payment gateway system 104, acquirer system 106, transaction serviceprovider system 108, and/or issuer system 110 (e.g., via communicationnetwork 114, etc.). For example, user device 112 may include a clientdevice and/or the like. In some non-limiting embodiments or aspects,user device 112 may be capable of receiving information (e.g., frommerchant system 102, etc.) via a short range wireless communicationconnection (e.g., an NFC communication connection, an RFID communicationconnection, a Bluetooth® communication connection, and/or the like),and/or communicating information (e.g., to merchant system 102, etc.)via a short range wireless communication connection. In somenon-limiting embodiments or aspects, user device 112 may include anapplication associated with user device 112, such as an applicationstored on user device 112, a mobile application (e.g., a mobile deviceapplication, a native application for a mobile device, a mobile cloudapplication for a mobile device, an electronic wallet application,and/or the like) stored and/or executed on user device 112.

Communication network 114 may include one or more wired and/or wirelessnetworks. For example, communication network 114 may include a cellularnetwork (e.g., a long-term evolution (LTE) network, a third generation(3G) network, a fourth generation (4G) network, a fifth generationnetwork (5G) network, a code division multiple access (CDMA) network,etc.), a public land mobile network (PLMN), a local area network (LAN),a wide area network (WAN), a metropolitan area network (MAN), atelephone network (e.g., the public switched telephone network (PSTN)),a private network, an ad hoc network, an intranet, the Internet, a fiberoptic-based network, a cloud computing network, and/or the like, and/ora combination of these or other types of networks.

Referring now to FIG. 1B, FIG. 1B is a diagram of non-limitingembodiments or aspects of a system for scheduling machine learninginference jobs 150. System 150 may correspond to one or more devices oftransaction processing network 101, one or more devices of merchantsystem 102, one or more devices of payment gateway system 104, one ormore devices of acquirer system 106, one or more devices of transactionservice provider system 108, one or more devices of issuer system 110,and/or user device 112 (e.g., one or more devices of a system of userdevice 112, etc.).

As shown in FIG. 1B, system 150 includes system resource manager 152,performance profiles database 154 and a plurality of system resources156 (e.g., available system resources 156 a including a first CPU 158 a,a second CPU 158 b, . . . an nth CPU 158 n, a first GPU 160 a, a secondGPU 160 b, . . . an nth GPU 160 n and unavailable system resources 156 bincluding a third CPU 158 c, a third GPU 160, etc.). In somenon-limiting embodiments or aspects, first CPU 158 a and first GPU 160 amay be implemented within a single device and/or system resource, secondCPU 158 b and second GPU 160 b may be implemented within a single deviceand/or system resource, third CPU 158 c and third GPU 160 c may beimplemented within a single device and/or system resource, nth CPU 158 nand nth GPU 160 n may be implemented within a single device and/orsystem resource, and/or the like.

System resource manager 152 may include one or more devices capable ofperforming a process for scheduling machine learning inference jobs asdescribed herein in more detail with respect to FIGS. 3 and 4 . Forexample, system resource manager 152 may include a computing device,such as a server, a group of servers, and/or other like devices.Performance profiles database 154 may include one or more databases thatare internal and/or external to system resource manager 152 and thatstore performance profiles associated with system resources. Availablesystem resources 156 a may include system resources that are availablefor assignment to an inference job associated with a machine learningmodel. Unavailable system resources 156 b may include system resourcesthat are not available for assignment to an inference job associatedwith a machine learning model. For example, an unavailable systemresource 156 b may include a system resource 156 that is currentlyprocessing another inference job.

The number and arrangement of devices and systems shown in FIGS. 1A and1B is provided as an example. There may be additional devices and/orsystems, fewer devices and/or systems, different devices and/or systems,or differently arranged devices and/or systems than those shown in FIGS.1A and 1B. Furthermore, two or more devices and/or systems shown inFIGS. 1A and 1B may be implemented within a single device and/or system,or a single device and/or system shown in FIGS. 1A and 1B may beimplemented as multiple, distributed devices and/or systems.Additionally, or alternatively, a set of devices and/or systems (e.g.,one or more devices or systems) of environment 100 may perform one ormore functions described as being performed by another set of devicesand/or systems of environment 100.

Referring now to FIG. 2 , FIG. 2 is a diagram of example components of adevice 200. Device 200 may correspond to one or more devices oftransaction processing network 101, one or more devices of merchantsystem 102, one or more devices of payment gateway system 104, one ormore devices of acquirer system 106, one or more devices of transactionservice provider system 108, one or more devices of issuer system 110,and/or user device 112 (e.g., one or more devices of a system of userdevice 112, etc.). In some non-limiting embodiments or aspects, one ormore devices of transaction processing network 101, one or more devicesof merchant system 102, one or more devices of payment gateway system104, one or more devices of acquirer system 106, one or more devices oftransaction service provider system 108, one or more devices of issuersystem 110, user device 112 (e.g., one or more devices of a system ofuser device 112, etc.), and/or one or more devices of communicationnetwork 114 may include at least one device 200 and/or at least onecomponent of device 200. As shown in FIG. 2 , device 200 may include abus 202, a processor 204, memory 206, a storage component 208, an inputcomponent 210, an output component 212, and a communication interface214.

Bus 202 may include a component that permits communication among thecomponents of device 200. In some non-limiting embodiments or aspects,processor 204 may be implemented in hardware, software, or a combinationof hardware and software. For example, processor 204 may include aprocessor (e.g., a central processing unit (CPU), a graphics processingunit (GPU), an accelerated processing unit (APU), etc.), amicroprocessor, a digital signal processor (DSP), and/or any processingcomponent (e.g., a field-programmable gate array (FPGA), anapplication-specific integrated circuit (ASIC), etc.) that can beprogrammed to perform a function. Memory 206 may include random accessmemory (RAM), read-only memory (ROM), and/or another type of dynamic orstatic storage device (e.g., flash memory, magnetic memory, opticalmemory, etc.) that stores information and/or instructions for use byprocessor 204.

Storage component 208 may store information and/or software related tothe operation and use of device 200. For example, storage component 208may include a hard disk (e.g., a magnetic disk, an optical disk, amagneto-optic disk, a solid state disk, etc.), a compact disc (CD), adigital versatile disc (DVD), a floppy disk, a cartridge, a magnetictape, and/or another type of computer-readable medium, along with acorresponding drive.

Input component 210 may include a component that permits device 200 toreceive information, such as via user input (e.g., a touch screendisplay, a keyboard, a keypad, a mouse, a button, a switch, amicrophone, etc.). Additionally, or alternatively, input component 210may include a sensor for sensing information (e.g., a global positioningsystem (GPS) component, an accelerometer, a gyroscope, an actuator,etc.). Output component 212 may include a component that provides outputinformation from device 200 (e.g., a display, a speaker, one or morelight-emitting diodes (LEDs), etc.).

Communication interface 214 may include a transceiver-like component(e.g., a transceiver, a separate receiver and transmitter, etc.) thatenables device 200 to communicate with other devices, such as via awired connection, a wireless connection, or a combination of wired andwireless connections. Communication interface 214 may permit device 200to receive information from another device and/or provide information toanother device. For example, communication interface 214 may include anEthernet interface, an optical interface, a coaxial interface, aninfrared interface, a radio frequency (RF) interface, a universal serialbus (USB) interface, a Wi-Fi® interface, a cellular network interface,and/or the like.

Device 200 may perform one or more processes described herein. Device200 may perform these processes based on processor 204 executingsoftware instructions stored by a computer-readable medium, such asmemory 206 and/or storage component 208. A computer-readable medium(e.g., a non-transitory computer-readable medium) is defined herein as anon-transitory memory device. A memory device includes memory spacelocated inside of a single physical storage device or memory spacespread across multiple physical storage devices.

Software instructions may be read into memory 206 and/or storagecomponent 208 from another computer-readable medium or from anotherdevice via communication interface 214. When executed, softwareinstructions stored in memory 206 and/or storage component 208 may causeprocessor 204 to perform one or more processes described herein.Additionally, or alternatively, hardwired circuitry may be used in placeof or in combination with software instructions to perform one or moreprocesses described herein. Thus, embodiments or aspects describedherein are not limited to any specific combination of hardware circuitryand software.

Memory 206 and/or storage component 208 may include data storage or oneor more data structures (e.g., a database, etc.). Device 200 may becapable of receiving information from, storing information in,communicating information to, or searching information stored in thedata storage or one or more data structures in memory 206 and/or storagecomponent 208.

The number and arrangement of components shown in FIG. 2 are provided asan example. In some non-limiting embodiments or aspects, device 200 mayinclude additional components, fewer components, different components,or differently arranged components than those shown in FIG. 2 .Additionally, or alternatively, a set of components (e.g., one or morecomponents) of device 200 may perform one or more functions described asbeing performed by another set of components of device 200.

Referring now to FIG. 3 , FIG. 3 is a flowchart of non-limitingembodiments or aspects of a process 300 for scheduling machine learninginference jobs. In some non-limiting embodiments or aspects, one or moreof the steps of process 300 may be performed (e.g., completely,partially, etc.) by transaction service provider system 108 (e.g., oneor more devices of transaction service provider system 108, etc.). Insome non-limiting embodiments or aspects, one or more of the steps ofprocess 300 may be performed (e.g., completely, partially, etc.) byanother device or a group of devices separate from or includingtransaction service provider system 108, such as merchant system 102(e.g., one or more devices of merchant system 102), payment gatewaysystem 104 (e.g., one or more devices of payment gateway system 104),acquirer system 106 (e.g., one or more devices of acquirer system 106),issuer system 110 (e.g., one or more devices of issuer system 110),and/or user device 112 (e.g., one or more devices of a system of userdevice 112).

As shown in FIG. 3 , at step 302, process 300 includes receiving ordetermining performance profiles. For example, system resource manager152 may receive or determine performance profiles. As an example, systemresource manager 152 may receive or determine a plurality of performanceprofiles associated with a plurality of system resources 156. In such anexample, each performance profile may be associated with a machinelearning model.

In some non-limiting embodiments or aspects, a performance profile for asystem resource includes a latency (e.g., an average latency, a minimumlatency, a maximum latency, etc.) associated with a machine learningmodel for that system resource, a throughput (e.g., an averagethroughput, a minimum throughput, a maximum throughput, etc.) associatedwith a machine learning model for that system resource, and anavailability of that system resource for processing an inference jobassociated with the machine learning model. A performance profileassociated with a machine learning model for a system resource may beupdated in response to that system resource being used to process aninference job using that machine learning model. An initial performanceprofile associated with a machine learning model for a system resourcemay be determined based on benchmarks associated with the systemresource.

In some non-limiting embodiments or aspects, the plurality of systemresources include at least one CPU 158 and at least one GPU 160. Forexample, the plurality of system resources may include a plurality ofcomputing systems, and one or more of the computing systems may includeat least one CPU 158 and/or at least one GPU 160.

In some non-limiting embodiments or aspects, a machine learning modelmay be programmed and/or configured to process an inference job. Forexample, a machine learning model may include a fraud detection modelconfigured to process transaction data associated with a transaction atmerchant system 102 to provide a prediction or inference of whether thetransaction is a fraudulent transaction. As an example, a machinelearning model may include a stand-in processing model configured toprocess transaction data associated with a transaction in transactionprocessing network 101 to provide a prediction or inference of whetherto approve or deny authorization of the transaction.

As shown in FIG. 3 , at step 304, process 300 includes receiving arequest for system resources for an inference job. For example, systemresource manager 152 may receive a request for system resources for aninference job. As an example, system resource manager 152 may receive arequest for system resources for an inference job associated with themachine learning model. In such an example, the request for systemresources for the inference job may include a quality of servicerequirements associated with the inference job.

In some non-limiting embodiments or aspects, a request for an inferencejob associated with a machine learning model may include a request forsystem resources to execute the machine learning model to process theinference job. For example, an inference job may include input data towhich the machine learning model is to be applied to provide aninference or prediction associated with the input data. As an example,an inference job may include transaction data associated with atransaction at merchant system 102, and a system resource may executethe machine learning model to process the transaction data for a frauddetection model and/or a stand-in processing model.

In some non-limiting embodiments or aspects, transaction data mayinclude parameters associated with a transaction, such as an accountidentifier (e.g., a PAN, etc.), a transaction amount, a transaction dateand time, a type of products and/or services associated with thetransaction, a conversion rate of currency, a type of currency, amerchant type, a merchant name, a merchant location, a transactionapproval (and/or decline) rate, and/or the like.

In some non-limiting embodiments or aspects, a quality of servicerequirement includes at least one of a latency requirement (e.g., anaverage latency, a minimum latency, a maximum latency, etc.) for aninference job associated with a machine learning model and a throughputrequirement (e.g., an average throughput, a minimum throughput, amaximum throughput, etc.) for the inference job associated with themachine learning model.

As shown in FIG. 3 , at step 306, process 300 includes determining asystem resource for processing an inference job. For example, systemresource manager 152 may determine a system resource for processing aninference job. As an example, system resource manager 152 may determinea system resource of the plurality of system resources for processingthe inference job associated with the machine learning model based onthe plurality of performance profiles and a quality of servicerequirement associated with the inference job. In such an example,system resource manager 152 may filter a pool of system resources 156for system resources that have performance profiles associated with themachine learning model that satisfy the quality of service requirementassociated with the inference job for the machine learning model. Forexample, system resource manager 152 may determine one or more systemresources from the pool of available system resources 156 a have alatency profile and/or throughput profile that satisfy a latencyrequirement and/or throughput requirement of the inference job for themachine learning model. In some non-limiting embodiments or aspects, ifmore than one system resource is determined to satisfy the quality ofservice requirement, system resource manager 152 may select the resourcehaving the best performance profile (e.g., a lowest latency, a highestthroughput, etc.).

In some non-limiting embodiments or aspects, determining the systemresource of the plurality of system resources for processing theinference job associated with the machine learning model includesassigning the inference job to one of a plurality of job queues based onthe quality of service requirement associated with the inference job(e.g., a high priority queue, a medium priority queue, a low priorityqueue, etc.). For example, the plurality of job queues may be associatedwith a plurality of different priorities, and determining the systemresource of the plurality of system resources for processing theinference job associated with the machine learning model is furtherbased on a priority of a job queue to which the inference job isassigned. As an example, inference jobs in a higher priority job queuemay be assigned system resources before inference jobs in lower priorityjob queues, and inference jobs in a same job queue may be assignedresources in the order in which the inference jobs are received andassigned to that job queue.

As shown in FIG. 3 , at step 308, process 300 includes assigning asystem resource to an inference job. For example, system resourcemanager 152 may assign a system resource to an inference job. As anexample, system resource manager 152 may assign the system resource tothe inference job for processing the inference job. In such an example,system resource manager 152 may assign the system resource determined instep 306 to the inference job for processing the inference job. Forexample, the assigned system resource may execute the machine learningmodel associated with the inference job to process the inference job toprovide a prediction or inference associated with the inference job. Insuch an example, the performance profile for the system resource may beupdated to indicate that the system resource is unavailable duringprocessing of the inference job.

As shown in FIG. 3 , at step 310, process 300 includes receiving resultdata. For example, system resource manager 152 may receive result data.As an example, system resource manager 152 may receive result dataassociated with processing of the inference job with the systemresource.

In some non-limiting embodiments or aspects, result data may include aprediction or inference associated with processing an inference job of amachine learning model with a system resource, a latency associated withprocessing the inference job of the machine learning model with thesystem resource, a throughput associated with processing the inferencejob of the machine learning model associated with the system resource,or any combination thereof.

As shown in FIG. 3 , at step 312, process 300 includes updating aperformance profile based on result data. For example, system resourcemanager 152 may update a performance profile based on result data. As anexample, system resource manager 152 may update, based on the resultdata, a performance profile of the plurality of the performance profilesassociated with the system resource and the machine learning model. Insuch an example, in response to receiving the result data associatedwith processing of the inference job with the system resource, systemresource manager 152 may automatically and dynamically update theperformance profile of the system resource for the machine learningmodel associated with the inference job. For example, system resourcemanager 152 may update a latency, a throughput, and/or an availabilityof the system resource for processing an inference job using the machinelearning model.

Referring now to FIG. 4 , FIG. 4 is a flowchart of non-limitingembodiments or aspects of a process 400 for scheduling machine learninginference jobs. In some non-limiting embodiments or aspects, one or moreof the steps of process 400 may be performed (e.g., completely,partially, etc.) by transaction service provider system 108 (e.g., oneor more devices of transaction service provider system 108, etc.). Insome non-limiting embodiments or aspects, one or more of the steps ofprocess 300 may be performed (e.g., completely, partially, etc.) byanother device or a group of devices separate from or includingtransaction service provider system 108, such as merchant system 102(e.g., one or more devices of merchant system 102), payment gatewaysystem 104 (e.g., one or more devices of payment gateway system 104),acquirer system 106 (e.g., one or more devices of acquirer system 106),issuer system 110 (e.g., one or more devices of issuer system 110),and/or user device 112 (e.g., one or more devices of a system of userdevice 112).

As shown in FIG. 4 , at step 402, process 400 includes receiving ordetermining further performance profiles. For example, system resourcemanager 152 may receive or determine further performance profiles. As anexample, system resource manager 152 may receive or determine aplurality of further performance profiles associated with the pluralityof system resources. In such an example, each further performanceprofile may be associated with a further machine learning modeldifferent than the machine learning model.

As shown in FIG. 4 , at step 404, process 400 includes receiving afurther request for system resources for a further inference job. Forexample, system resource manager 152 may receive a further request forsystem resources for a further inference job. As an example, systemresource manager 152 may receive a further request for system resourcesfor a further inference job associated with the further machine learningmodel.

As shown in FIG. 4 , at step 406, process 400 includes determining asystem resource for processing a further inference job. For example,system resource manager 152 may determine a system resource forprocessing a further inference job. As an example, system resourcemanager 152 may determine a further system resource of the plurality ofsystem resources for processing the further inference job associatedwith the further machine learning model based on the plurality offurther performance profiles and a further quality of servicerequirement associated with the further inference job.

As shown in FIG. 4 , at step 408, process 400 includes assigning asystem resource to a further inference job. For example, system resourcemanager 152 may assign a system resource to a further inference job. Asan example, system resource manager 152 may assign the further systemresource to the inference job for processing the inference job. In somenon-limiting embodiments or aspects, the further system resource may bedifferent than the system resource discussed herein with respect to step308. In some non-limiting embodiments or aspects, the further systemresource may be the same as the system resource discussed herein withrespect to step 308. For example, the further system resource may beassigned to the further inference job before or after that systemresource is assigned to the other inference job (e.g., before or afterthe other inference job is finished processing by the system resource,etc.).

As shown in FIG. 4 , at step 410, process 400 includes receiving furtherresult data. For example, system resource manager 152 may receivefurther result data. As an example, system resource manager 152 mayreceive further result data associated with processing of the furtherinference job with the further system resource.

As shown in FIG. 4 , at step 412, process 400 includes updating afurther performance profile based on result data. For example, systemresource manager 152 may update a further performance profile based onresult data. As an example, system resource manager 152 may update,based on the further result data, a further performance profile of theplurality of the performance profiles associated with the systemresource and the further machine learning model

Although embodiments or aspects have been described in detail for thepurpose of illustration and description, it is to be understood thatsuch detail is solely for that purpose and that embodiments or aspectsare not limited to the disclosed embodiments or aspects, but, on thecontrary, are intended to cover modifications and equivalentarrangements that are within the spirit and scope of the appendedclaims. For example, it is to be understood that the present disclosurecontemplates that, to the extent possible, one or more features of anyembodiment or aspect can be combined with one or more features of anyother embodiment or aspect. In fact, any of these features can becombined in ways not specifically recited in the claims and/or disclosedin the specification. Although each dependent claim listed below maydirectly depend on only one claim, the disclosure of possibleimplementations includes each dependent claim in combination with everyother claim in the claim set.

What is claimed is:
 1. A computer-implemented method, comprising:receiving or determining, with at least one processor, a plurality ofperformance profiles associated with a plurality of system resources,wherein each performance profile is associated with a machine learningmodel, wherein each performance profile for each system resourceincludes a latency associated with the machine learning model for thatsystem resource, a throughput associated with the machine learning modelfor that system resource, and an availability of that system resourcefor processing an inference job associated with the machine learningmodel, and wherein the plurality of system resources includes at leastone central processing unit (CPU) and at least one graphics processingunit (GPU); receiving, with at least one processor, a request for systemresources for the inference job associated with the machine learningmodel; determining, with at least one processor, a system resource ofthe plurality of system resources for processing the inference jobassociated with the machine learning model based on the plurality ofperformance profiles and a quality of service requirement associatedwith the inference job; and assigning, with at least one processor, thesystem resource to the inference job for processing the inference job,wherein the system resource assigned to the inference job executes themachine learning model associated with the inference job to process theinference job.
 2. The computer-implemented method of claim 1, furthercomprising: receiving, with at least one processor, result dataassociated with processing of the inference job with the systemresource; and updating, with at least one processor, based on the resultdata, a performance profile of the plurality of the performance profilesassociated with the system resource and the machine learning model. 3.The computer-implemented method of claim 2, wherein the result dataincludes at least one of the following: a latency associated withprocessing the inference job of the machine learning model with thesystem resource, a throughput associated with processing the inferencejob of the machine learning model with the system resource, or anycombination thereof.
 4. The computer-implemented method of claim 1,wherein the quality of service requirement includes at least one of alatency requirement for the inference job associated with the machinelearning model and a throughput requirement for the inference jobassociated with the machine learning model.
 5. The computer-implementedmethod of claim 1, wherein determining the system resource of theplurality of system resources for processing the inference jobassociated with the machine learning model includes assigning theinference job to one of a plurality of job queues based on the qualityof service requirement associated with the inference job, wherein theplurality of job queues are associated with a plurality of differentpriorities, and wherein determining the system resource of the pluralityof system resources for processing the inference job associated with themachine learning model is further based on a priority of a job queue towhich the inference job is assigned.
 6. The computer-implemented methodof claim 2, further comprising: receiving or determining, with at leastone processor, a plurality of further performance profiles associatedwith the plurality of system resources, wherein each further performanceprofile is associated with a further machine learning model differentthan the machine learning model; receiving, with at least one processor,a further request for system resources for a further inference jobassociated with the further machine learning model; determining, with atleast one processor, a further system resource of the plurality ofsystem resources for processing the further inference job associatedwith the further machine learning model based on the plurality offurther performance profiles and a further quality of servicerequirement associated with the further inference job; assigning, withat least one processor, the further system resource to the inference jobfor processing the inference job; receiving, with at least oneprocessor, further result data associated with processing of the furtherinference job with the further system resource; and updating, with atleast one processor, based on the further result data, a furtherperformance profile of the plurality of the performance profilesassociated with the system resource and the further machine learningmodel.
 7. The computer-implemented method of claim 6, wherein the systemresource and the further system resource include a same system resource.8. A computing system, comprising: one or more processors programmedand/or configured to: receive or determine a plurality of performanceprofiles associated with a plurality of system resources, wherein eachperformance profile is associated with a machine learning model, whereineach performance profile for each system resource includes a latencyassociated with the machine learning model for that system resource, athroughput associated with the machine learning model for that systemresource, and an availability of that system resource for processing aninference job associated with the machine learning model, and whereinthe plurality of system resources includes at least one centralprocessing unit (CPU) and at least one graphics processing unit (GPU);receive a request for system resources for the inference job associatedwith the machine learning model; determine a system resource of theplurality of system resources for processing the inference jobassociated with the machine learning model based on the plurality ofperformance profiles and a quality of service requirement associatedwith the inference job; and assign the system resource to the inferencejob for processing the inference job, wherein the system resourceassigned to the inference job executes the machine learning modelassociated with the inference job to process the inference job.
 9. Thecomputing system of claim 8, wherein the one or more processors arefurther programmed and/or configured to: receive result data associatedwith processing of the inference job with the system resource; andupdate, based on the result data, a performance profile of the pluralityof the performance profiles associated with the system resource and themachine learning model.
 10. The computing system of claim 9, wherein theresult data includes at least one of the following: a latency associatedwith processing the inference job of the machine learning model with thesystem resource, a throughput associated with processing the inferencejob of the machine learning model with the system resource, or anycombination thereof.
 11. The computing system of claim 8, wherein thequality of service requirement includes at least one of a latencyrequirement for the inference job associated with the machine learningmodel and a throughput requirement for the inference job associated withthe machine learning model.
 12. The computing system of claim 8, whereindetermining the system resource of the plurality of system resources forprocessing the inference job associated with the machine learning modelincludes assigning the inference job to one of a plurality of job queuesbased on the quality of service requirement associated with theinference job, wherein the plurality of job queues are associated with aplurality of different priorities, and wherein determining the systemresource of the plurality of system resources for processing theinference job associated with the machine learning model is furtherbased on a priority of a job queue to which the inference job isassigned.
 13. The computing system of claim 9, wherein the one or moreprocessors are further programmed and/or configured to: receive ordetermine a plurality of further performance profiles associated withthe plurality of system resources, wherein each further performanceprofile is associated with a further machine learning model differentthan the machine learning model; receive a further request for systemresources for a further inference job associated with the furthermachine learning model; determine a further system resource of theplurality of system resources for processing the further inference jobassociated with the further machine learning model based on theplurality of further performance profiles and a further quality ofservice requirement associated with the further inference job; assignthe further system resource to the inference job for processing theinference job; receive further result data associated with processing ofthe further inference job with the further system resource; and updatebased on the further result data, a further performance profile of theplurality of the performance profiles associated with the systemresource and the further machine learning model.
 14. The computingsystem of claim 13, wherein the system resource and the further systemresource include a same system resource.
 15. A computer program productcomprising at least one non-transitory computer-readable mediumincluding program instructions that, when executed by at least oneprocessor, cause the at least one processor to: receive or determine aplurality of performance profiles associated with a plurality of systemresources, wherein each performance profile is associated with a machinelearning model, wherein each performance profile for each systemresource includes a latency associated with the machine learning modelfor that system resource, a throughput associated with the machinelearning model for that system resource, and an availability of thatsystem resource for processing an inference job associated with themachine learning model, and wherein the plurality of system resourcesincludes at least one central processing unit (CPU) and at least onegraphics processing unit (GPU); receive a request for system resourcesfor the inference job associated with the machine learning model;determine a system resource of the plurality of system resources forprocessing the inference job associated with the machine learning modelbased on the plurality of performance profiles and a quality of servicerequirement associated with the inference job; and assign the systemresource to the inference job for processing the inference job, whereinthe system resource assigned to the inference job executes the machinelearning model associated with the inference job to process theinference job.
 16. The computer program product of claim 15, wherein theprogram instructions, when executed by the at least one processor,further cause the at least one processor to: receive result dataassociated with processing of the inference job with the systemresource; and update, based on the result data, a performance profile ofthe plurality of the performance profiles associated with the systemresource and the machine learning model.
 17. The computer programproduct of claim 16, wherein the result data includes at least one ofthe following: a latency associated with processing the inference job ofthe machine learning model with the system resource, a throughputassociated with processing the inference job of the machine learningmodel with the system resource, or any combination thereof.
 18. Thecomputer program product of claim 15, wherein the quality of servicerequirement includes at least one of a latency requirement for theinference job associated with the machine learning model and athroughput requirement for the inference job associated with the machinelearning model.
 19. The computer program product of claim 15, whereindetermining the system resource of the plurality of system resources forprocessing the inference job associated with the machine learning modelincludes assigning the inference job to one of a plurality of job queuesbased on the quality of service requirement associated with theinference job, wherein the plurality of job queues are associated with aplurality of different priorities, and wherein determining the systemresource of the plurality of system resources for processing theinference job associated with the machine learning model is furtherbased on a priority of a job queue to which the inference job isassigned.
 20. The computer program product of claim 16, wherein theprogram instructions, when executed by the at least one processor, causethe at least one processor to: receive or determine a plurality offurther performance profiles associated with the plurality of systemresources, wherein each further performance profile is associated with afurther machine learning model different than the machine learningmodel; receive a further request for system resources for a furtherinference job associated with the further machine learning model;determine a further system resource of the plurality of system resourcesfor processing the further inference job associated with the furthermachine learning model based on the plurality of further performanceprofiles and a further quality of service requirement associated withthe further inference job; assign the further system resource to theinference job for processing the inference job; receive further resultdata associated with processing of the further inference job with thefurther system resource; and update based on the further result data, afurther performance profile of the plurality of the performance profilesassociated with the system resource and the further machine learningmodel, wherein the system resource and the further system resourceinclude a same system resource.